package com.shop.admin.constant;

public class WebSocketConstant {
    public enum  StatusEnum{
        CONNECTION(1,"连接"),
        CLOSE (0,"关闭");
        private int code;
        private String msg;

        StatusEnum(int code,String msg){
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
